package com.sls.web.manager.sys.service;

import java.util.List;

import com.sls.web.manager.page.Pagination;
import com.sls.web.manager.pojo.UserInfoVO;
import com.sls.web.manager.sys.pojo.Permission;
import com.sls.web.manager.sys.pojo.RolePermission;

public interface RolePermissionService {
	public Pagination<RolePermission> querRolepermission(RolePermission rp,
			UserInfoVO userinfo) throws Exception;

	public List<Permission> queryRolepermissionByRoleId(String roleId,
			UserInfoVO userinfo) throws Exception;

	public boolean updateRPByRoleId(List<String> codes, String roleId,
			UserInfoVO userinfo) throws Exception;
}
